/** init domain config */
import Vue from 'vue'
//设置全局API_BASE_URL
Vue.prototype.API_BASE_URL = window._CONFIG.VUE_APP_API_BASE_URL ? window._CONFIG.VUE_APP_API_BASE_URL : process.env.VUE_APP_API_BASE_URL
window._CONFIG['domianURL'] = Vue.prototype.API_BASE_URL
// window._CONFIG['domianURL'] = 'http://192.168.31.224:8080/jeecg-boot'//某人
// window._CONFIG['domianURL'] = 'http://192.168.31.42:8080/jeecg-boot'//刘凯杰1
// window._CONFIG['domianURL'] = 'http://192.168.31.101:8080/jeecg-boot'//寇德利
// window._CONFIG['domianURL'] = 'http://192.168.31.39:8080/jeecg-boot'//刘凯杰1
// window._CONFIG['domianURL'] = 'http://39.107.221.107:8083/jeecg-boot'//正式服
window._CONFIG['domianURL'] = 'http://39.107.221.107:8085/jeecg-boot'//测试服
//单点登录地址
window._CONFIG['casPrefixUrl'] = window._CONFIG.VUE_APP_CAS_BASE_URL ? window._CONFIG.VUE_APP_CAS_BASE_URL : process.env.VUE_APP_CAS_BASE_URL
window._CONFIG['onlinePreviewDomainURL'] = window._CONFIG.VUE_APP_ONLINE_BASE_URL ? window._CONFIG.VUE_APP_ONLINE_BASE_URL : process.env.VUE_APP_ONLINE_BASE_URL
window._CONFIG['staticDomainURL'] = Vue.prototype.API_BASE_URL + '/sys/common/static'
window._CONFIG['pdfDomainURL'] = Vue.prototype.API_BASE_URL + '/sys/common/                    /pdfPreviewIframe'